package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuhuan
 * @since 2019-01-18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWCO_T")
public class GwcoT extends PO<GwcoT> {

    private static final long serialVersionUID = 1L;


    private String GWCOENT;

    @TableId(value = "GWCODOCNO", type = IdType.INPUT)
    private String GWCODOCNO;

    private BigDecimal GWCOSEQ;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCODOCDATE;

    private String GWCO001;

    private String GWCO002;

    private BigDecimal GWCO003;

    private BigDecimal GWCO004;

    private BigDecimal GWCO005;

    private String GWCO006;

    private String GWCO007;

    private String GWCO008;

    private String GWCO009;

    private String GWCO010;

    private String GWCO011;

    private String GWCO012;

    private String GWCO013;

    private String GWCO020;

    private String GWCO021;

    private String GWCO022;

    private String GWCO023;

    private String GWCO024;

    private String GWCO025;

    private String GWCO026;

    private String GWCO027;

    private String GWCO028;

    private String GWCO030;

    private BigDecimal GWCO031;

    private String GWCO050;

    private String GWCO101;

    private String GWCO102;

    private String GWCO103;

    private String GWCO104;

    private BigDecimal GWCO105;

    private String GWCO106;

    private String GWCO107;

    private String GWCO108;

    private String GWCOPLANT;

    private String GWCOLEGAL;

    private String GWCOACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWCOUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWCOGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWCOMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWCOTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCODATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWCOORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWCOORIU;

    @Override
    protected Serializable pkVal() {
        return this.GWCOENT;
    }

}
